DECLARE @NOME VARCHAR(15)
SET @NOME = 'FLAVIO'
 
SELECT 'FDATA', * FROM FDATA.DBO.USERS WHERE USUARIO = @NOME
SELECT 'VDATA', * FROM VDATA.DBO.USERS WHERE USUARIO = @NOME
SELECT 'JDATA', * FROM JDATA.DBO.USERS WHERE USUARIO = @NOME
SELECT NAME, * FROM SYSUSERS WHERE NAME = @NOME
 
DELETE FROM FDATA.DBO.USERS WHERE USUARIO = @NOME
DELETE FROM VDATA.DBO.USERS WHERE USUARIO = @NOME
DELETE FROM JDATA.DBO.USERS WHERE USUARIO = @NOME
DELETE FROM SYSUSERS  WHERE NAME = @NOME
